<!DOCTYPE html>
<html lang="en">
<head>
  <title>浩然金融中心管理平台</title>
  <meta charset="utf-8">
  <meta content="width=device-width, initial-scale=1.0, user-scalable=0, minimum-scale=1.0, maximum-scale=1.0"
        name="viewport">
  <#include "/common/csslib.html">
  <style type="text/css">
    .starter-template {
      padding: 40px 15px;
      text-align: center;
    }

    table.table-fixed-head .table-fixed-head-thead {
      border-bottom: 1px solid #dddddd;
      background: #fff;
    }
  </style>
</head>
<body>
<div class="main-wrapper">
  <!-- start: MAIN CONTAINER -->
  <div class="main-container inner">
    <!-- start: PAGE -->
    <div class="main-content">
      <div class="container">
        <div class="form-horizontal  h-form-warp">
          <input id="operation" name="operation" type="hidden" value="${operation!}"/>
          <input id="tableId" name="tableId" type="hidden" value="${systemTableInfo.id!}"/>
          <input class="form-control" id="moduleId" name="moduleId" type="hidden" value="${systemTableInfo.moduleId!}"/>
          <div class="h-msg-title h-table-header">
            <strong>${systemTableInfo.tableName}字段信息</strong>
          </div>
          <form action="" class="form-horizontal" id="systemColumnListInfoForm" method="post" role="form">
            <table aria-describedby="systemTableInfo_table_info"
                   class="table table-striped table-fixed-head table-bordered table-hover text-center dataTable no-footer"
                   id="systemTableInfo_table" role="grid"
                   style="width: 100%;">
              <thead>
              <tr role="row">
                <th aria-controls="systemTableInfo_table" colspan="1" rowspan="1"
                    style="width: 50px;word-break:break-all;"
                    tabindex="0">字段编码
                </th>
                <th aria-controls="systemTableInfo_table" colspan="1" rowspan="1" style="width: 50px;" tabindex="0">
                  字段名称
                </th>
                <th aria-controls="systemTableInfo_table" colspan="1" rowspan="1" style="width: 50px;" tabindex="0">
                  list列表字段
                </th>
                <th aria-controls="systemTableInfo_table" colspan="1" rowspan="1" style="width: 50px;" tabindex="0">
                  form表单字段
                </th>
                <th aria-controls="systemTableInfo_table" colspan="1" rowspan="1" style="width: 50px;" tabindex="0">
                  长文本框
                </th>
                <th aria-controls="systemTableInfo_table" colspan="1" rowspan="1" style="width: 50px;" tabindex="0">
                  排序字段
                </th>
                <th aria-controls="systemTableInfo_table" colspan="1" rowspan="1" style="width: 50px;" tabindex="0">
                  查询字段
                </th>
                <th aria-controls="systemTableInfo_table" colspan="1" rowspan="1" style="width: 50px;" tabindex="0">
                  数据字典
                </th>
                <th aria-controls="systemTableInfo_table" colspan="1" rowspan="1" style="width: 50px;" tabindex="0">
                  金额类型
                </th>
                <th aria-controls="systemTableInfo_table" colspan="1" rowspan="1" style="width: 50px;" tabindex="0">
                  利率类型
                </th>
                <th aria-controls="systemTableInfo_table" colspan="1" rowspan="1" style="width: 50px;" tabindex="0">
                  数字类型
                </th>
                <th aria-controls="systemTableInfo_table" colspan="1" rowspan="1" style="width: 50px;" tabindex="0">
                  日期类型
                </th>
                <th aria-controls="systemTableInfo_table" colspan="1" rowspan="1" style="width: 50px;" tabindex="0">
                  字符串日期类型
                </th>
                <th aria-controls="systemTableInfo_table" colspan="1" rowspan="1" style="width: 50px;" tabindex="0">必填
                </th>
              </tr>
              </thead>
              <tbody>
              <#list systemColumnInfoList as scl>
              <input id="id_${scl_index!}" name="id_${scl_index!}" type="hidden" value="${scl.id!}"/>
              <#if scl_index%2 == 0>
              <tr class="odd" role="row">
                <#else>
              <tr class="even" role="row">
              </#if>
              <td style="text-align:left;width: 50px;word-break:break-all;">${scl.columnCode}</td>
              <td style="text-align:left;width: 50px;word-break:break-all;">${scl.columnName}</td>
              <td style="text-align:left;">
                <div class="form-group">
                  <#if scl.columnCode=="createBy" || scl.columnCode=="createDate" ||scl.columnCode=="updateBy"
                  ||scl.columnCode=="updateDate" || scl.columnCode=="createTime" ||
                  scl.columnCode=="updateTime" || scl.columnCode=="tenantId" || scl.columnCode=="channelId"
                  || scl.columnCode=="channelNo">
                  <div class="col-sm-11">
                    <select class="col-sm-2 form-control" id="isListColumn_${scl_index}"
                            name="isListColumn_${scl_index}">
                      <option value="">--请选择--</option>
                      <option value="Y">是</option>
                      <option value="N"<#if (scl.isListColumn!)=="N" || ((scl.isListColumn!)??)>selected="selected"</#if>>否</option>
                    </select>
                  </div>
                  <#else>
                  <div class="col-sm-11">
                    <select class="col-sm-2 form-control" id="isListColumn_${scl_index}"
                            name="isListColumn_${scl_index}">
                      <option value="">--请选择--</option>
                      <option value="Y"<#if (scl.isListColumn!)=="Y" || ((scl.isListColumn!)??)>selected="selected"</#if>>是</option>
                    <option value="N"<#if (scl.isListColumn!)=="N" >selected="selected"
                  </#if>>否</option>
                  </select>
                </div>
              </#if>
        </div>
        </td>
        <td style="text-align:left;">
          <div class="form-group">
            <#if scl.columnCode=='createBy' || scl.columnCode=='createDate' ||scl.columnCode=='updateBy'
            ||scl.columnCode=='updateDate' || scl.columnCode=='createTime' || scl.columnCode=='updateTime'
            || scl.columnCode=="tenantId" || scl.columnCode=="channelId" ||
            scl.columnCode=="channelNo">
            <div class="col-sm-11">
              <select class="col-sm-2 form-control" id="isFormColumn_${scl_index}" name="isFormColumn_${scl_index}">
                <option value="">--请选择--</option>
                <option value="Y"<#if (scl.isFormColumn!)=="Y">selected="selected"</#if>>是</option>
              <option value="N"<#if (scl.isFormColumn!)=="N" || ((scl.isFormColumn!)??)>selected="selected"
            </#if>>否</option>
            </select>
          </div>
          <#else>
          <div class="col-sm-11">
            <select class="col-sm-2 form-control" id="isFormColumn_${scl_index}" name="isFormColumn_${scl_index}">
              <option value="">--请选择--</option>
              <option value="Y"<#if (scl.isFormColumn!)=="Y" || ((scl.isFormColumn!)??)>selected="selected"</#if>>是</option>
            <option value="N"<#if (scl.isFormColumn!)=="N">selected="selected"</#if>>否</option>
          </select>
      </div>
    </#if>
  </div>
  </td>
  <td style="text-align:left;">
    <div class="form-group">
      <div class="col-sm-11">
        <select class="col-sm-2 form-control" id="isTextarea_${scl_index}"
                name="isTextarea_${scl_index}">
          <option value="">--请选择--</option>
          <option value="Y"<#if (scl.isTextarea!)=="Y">selected="selected"</#if>>是</option>
        <option value="N"<#if (scl.isTextarea!)=="N" || (scl.isTextarea!)=="">selected="selected"</#if>>否</option>
      </select>
    </div>
</div>
</td>
<td style="text-align:left;">
  <div class="form-group">
    <div class="col-sm-11">
      <select class="col-sm-2 form-control" id="isOrderColumn_${scl_index}"
              name="isOrderColumn_${scl_index}" onchange="SystemTableInfoMgr.controlOrder(${scl_index})">
        <option value="">--请选择--</option>
        <option value="Y"<#if (scl.isOrderColumn!)=="Y">selected="selected"</#if>>是</option>
      <option value="N"<#if (scl.isOrderColumn!)=="N" || (scl.isOrderColumn!)=="">selected="selected"
    </#if>>否</option>
    </select>
  </div>
  </div>
  <#if (scl.isOrderColumn!)=='Y'>
  <div class="form-group" id="orderArea_${scl_index!}">
    <div class="col-sm-11">
      <select class="col-sm-2 form-control" id="orderType_${scl_index}" name="orderType_${scl_index}">
        <option value="">--请选择--</option>
        <option value="asc"<#if (scl.orderType!)=="asc">selected="selected"</#if>>升序</option>
      <option value="desc"<#if (scl.orderType!)=="desc">selected="selected"
    </#if>>降序</option>
    </select>
  </div>
  </div>
  <#else>
  <div class="form-group" id="orderArea_${scl_index!}" style="display:none">
    <div class="col-sm-11">
      <select class="col-sm-2 form-control" id="orderType_${scl_index}"
              name="orderType_${scl_index}">
        <option value="">--请选择--</option>
        <option value="asc"<#if (scl.orderType!)=="asc">selected="selected"</#if>>升序</option>
      <option value="desc"<#if (scl.orderType!)=="desc">selected="selected"
    </#if>>降序</option>
    </select>
  </div>
  </div>
</#if>
</td>
<td style="text-align:left;">
  <div class="form-group">
    <div class="col-sm-11">
      <select class="col-sm-2 form-control" id="isQueryColumn_${scl_index}"
              name="isQueryColumn_${scl_index}" onchange="SystemTableInfoMgr.controlQuery(${scl_index})">
        <option value="">--请选择--</option>
        <option value="Y"<#if (scl.isQueryColumn!)=='Y'>selected="selected"</#if>>是</option>
      <option value="N"<#if (scl.isQueryColumn!)=='N' || (scl.isQueryColumn!)=="">selected="selected"
    </#if>>否</option>
    </select>
  </div>
  </div>
  <#if (scl.isQueryColumn!)=='Y'>
  <div class="form-group" id="queryArea_${scl_index!}">
    <div class="col-sm-11">
      <select class="col-sm-2 form-control" id="queryType_${scl_index}"
              name="queryType_${scl_index}">
        <option value="">--请选择--</option>
        <option value="01"<#if (scl.queryType!) =='01'>selected="selected"</#if>>like模糊查询</option>
      <option value="02"<#if (scl.queryType!)=="02" || ((scl.queryType!)??)>selected="selected"
    </#if>>=精确查询</option>
    <option value="03"<#if (scl.queryType!)=="03">selected="selected"
  </#if>>时间范围查询</option>
  </select>
  </div>
  </div>
  <#else>
  <div class="form-group" id="queryArea_${scl_index!}" style="display:none">
    <div class="col-sm-11">
      <select class="col-sm-2 form-control" id="queryType_${scl_index}"
              name="queryType_${scl_index}" onchange="SystemTableInfoMgr.checkColumnType(${scl_index},'queryType')">
        <option value="">--请选择--</option>
        <option value="01"<#if (scl.queryType!)=="01">selected="selected"</#if>>like模糊查询</option>
      <option value="02"<#if (scl.queryType!)=="02" || ((scl.queryType!)??)>selected="selected"
    </#if>>=精确查询</option>
    <option value="03"<#if (scl.queryType!)=="03">selected="selected"
  </#if>>时间范围查询</option>
  </select>
  </div>
  </div>
</#if>
</td>
<td style="text-align:left;">
  <div class="form-group">
    <div class="col-sm-11">
      <select class="col-sm-2 form-control" id="isDict_${scl_index}"
              name="isDict_${scl_index}" onchange="SystemTableInfoMgr.controlDict(${scl_index})">
        <option value="">--请选择--</option>
        <option value="Y"<#if (scl.isDict!)=="Y">selected="selected"</#if>>是</option>
      <option value="N"<#if (scl.isDict!)=="N" || ((scl.isDict!)??)>selected="selected"
    </#if>>否</option>
    </select>
  </div>
  </div>
  <#if (scl.isDict!) =='Y'>
  <div class="form-group" id="dictArea_${scl_index!}">
    <div class="col-sm-11">
      <input class="form-control" id="dictCode_${scl_index!}" name="dictCode_${scl_index!}"
             onblur="SystemTableInfoMgr.checkDictCode(${scl_index})"
             type="text" value="${scl.dictCode!}"/>
    </div>
    <div class="col-sm-11">
      <select class="col-sm-2 form-control" id="dictType_${scl_index}" name="dictType_${scl_index}">
        <option value="">--请选择--</option>
        <option value="select"<#if (scl.dictType!)=="select" || ((scl.dictType!)??)>selected="selected"</#if>>下拉框</option>
      <option value="radio"<#if (scl.dictType!)=="radio">selected="selected"
    </#if>>单选框</option>
    <option value="checkbox"<#if (scl.dictType!)=="checkbox">selected="selected"
  </#if>>复选框</option>
  <option value="text"
  <#if (scl.dictType!)=="text">selected="selected"
</#if>>文本框</option>
</select>
</div>
</div>
<#else>
<div class="form-group" id="dictArea_${scl_index!}" style="display:none">
  <div class="col-sm-11">
    <input class="form-control" id="dictCode_${scl_index!}" name="dictCode_${scl_index!}"
           onblur="SystemTableInfoMgr.checkDictCode(${scl_index})"
           type="text" value="${scl.dictCode!}"/>
  </div>
  <div class="col-sm-11">
    <select class="col-sm-2 form-control" id="dictType_${scl_index}" name="dictType_${scl_index}">
      <option value="">--请选择--</option>
      <option value="select"<#if (scl.dictType!)=="select" || ((scl.dictType!)??)>selected="selected"</#if>>下拉框</option>
    <option value="radio"<#if (scl.dictType!)=="radio">selected="selected"
  </#if>>单选框</option>
  <option value="checkbox"<#if (scl.dictType!)=="checkbox">selected="selected"</#if>>复选框</option>
<option value="text"<#if (scl.dictType!)=="text">selected="selected"</#if>>文本框</option>
</select>
</div>
</div>
</#if>
</td>
<td style="text-align:left;">
  <div class="form-group">
    <div class="col-sm-11">
      <select class="col-sm-2 form-control" id="isAmt_${scl_index}"
              name="isAmt_${scl_index}" onchange="SystemTableInfoMgr.checkColumnType(${scl_index},'isAmt')">
        <option value="">--请选择--</option>
        <option value="Y"
        <#if (scl.isAmt!)=="Y">selected="selected"</#if>>是</option>
      <option value="N"
      <#if (scl.isAmt!)=="N" || ((scl.isAmt!)??)>selected="selected"
    </#if>>否</option>
    </select>
  </div>
  </div>
</td>
<td style="text-align:left;">
  <div class="form-group">
    <div class="col-sm-11">
      <select class="col-sm-2 form-control" id="isRate_${scl_index}"
              name="isRate_${scl_index}" onchange="SystemTableInfoMgr.checkColumnType(${scl_index},'isRate')">
        <option value="">--请选择--</option>
        <option value="Y"<#if (scl.isRate!)=="Y">selected="selected"</#if>>是</option>
      <option value="N"<#if (scl.isRate!)=="N" || ((scl.isRate!)??)>selected="selected"
    </#if>>否</option>
    </select>
  </div>
  </div>
</td>
<td style="text-align:left;">
  <div class="form-group">
    <div class="col-sm-11">
      <select class="col-sm-2 form-control" id="isNumber_${scl_index}"
              name="isNumber_${scl_index}" onchange="SystemTableInfoMgr.checkColumnType(${scl_index},'isNumber')">
        <option value="">--请选择--</option>
        <option value="Y"<#if (scl.isNumber!)=="Y" || ((scl.isNumber!)??)>selected="selected"</#if>>是</option>
      <option value="N"<#if (scl.isNumber!)=="N">selected="selected"
    </#if>>否</option>
    </select>
  </div>
  </div>
</td>
<td style="text-align:left;">
  <div class="form-group">
    <div class="col-sm-11">
      <select class="col-sm-2 form-control" id="isDate_${scl_index}"
              name="isDate_${scl_index}" onchange="SystemTableInfoMgr.checkColumnType(${scl_index},'isDate')">
        <option value="">--请选择--</option>
        <option value="Y"<#if (scl.isDate!)=="Y">selected="selected"</#if>>是</option>
      <option value="N"<#if (scl.isDate!)=="N" || (scl.isDate!)=="">selected="selected"
    </#if>>否</option>
    </select>
  </div>
  </div>
</td>
<td style="text-align:left;">
  <div class="form-group">
    <div class="col-sm-11">
      <select class="col-sm-2 form-control" id="isStrDate_${scl_index}" name="isStrDate_${scl_index}">
        <option value="">--请选择--</option>
        <option value="Y"<#if (scl.isStrDate!)=="Y">selected="selected"</#if>>是</option>
      <option value="N"<#if (scl.isStrDate!)=="N" || (scl.isStrDate!)=="">selected="selected"
    </#if>>否</option>
    </select>
  </div>
  </div>
</td>
<td style="text-align:left;">
  <div class="form-group">
    <div class="col-sm-11">
      <select class="col-sm-2 form-control" id="isRequired_${scl_index}" name="isRequired_${scl_index}">
        <option value="">--请选择--</option>
        <option value="Y"<#if (scl.isRequired!)=="Y" || ((scl.isRequired!)??)>selected="selected"</#if>>是</option>
      <option value="N"<#if (scl.isRequired!)=="N">selected="selected"
    </#if>>否</option>
    </select>
  </div>
  </div>
</td>
</tr>
</#list>
</tbody>
</table>
</form>
</div>
</div>
</div>
<!-- end: PAGE -->
</div>
<!-- end: MAIN CONTAINER -->
</div>
<#include "/common/jslib.html">
<!-- form页面js -->
<script type="text/javascript">
    $(function () {
        // 页面操作类型：add(添加)-edit(编辑)-view(查看)
        var operation = $("#operation").val();
        var api = frameElement.api;
        var W = api.opener;
        SystemTableInfoMgr = {
            // 初始化
            init: function () {
                // 查看的时候不显示保存按钮
                if (operation == "view") {
                    Jmts.setFormReadOnly();
                    $("#save").hide();
                }
                api.button({
                    id: 'cancel',
                    name: '关闭',
                    callback: function () {
                        var columnRowsLength = document.getElementById("systemTableInfo_table").rows.length;
                        if (columnRowsLength > 1) {
                            Jmts.confirm("请先保存页面表单信息再关闭，确定要关闭吗？", function () {
                                api.close();
                            });
                        } else {
                            api.close();
                        }
                        return false;
                    }
                });
                api.button({
                    id: 'ok',
                    name: '保存配置',
                    callback: SystemTableInfoMgr.saveSystemColumnInfo
                });
            },
            // init end

            // 提交数据
            saveSystemColumnInfo: function () {
                var tableId = $("#tableId").val();
                var sb = new StringBuilder();
                var columnRowsLength = document.getElementById("systemTableInfo_table").rows.length;
                if (columnRowsLength > 1) {
                    sb.append('{"columnJson" :[');
                    for (var i = 0; i < columnRowsLength - 1; i++) {
                        sb.append("{");
                        var id = $("#id_" + i).val();
                        sb.append('"id":"' + id + '",');
                        sb.append('"tableId":"' + tableId + '",');
                        var isListColumn = $("#isListColumn_" + i).val();
                        sb.append('"isListColumn":"' + isListColumn + '",');
                        var isFormColumn = $("#isFormColumn_" + i).val();
                        sb.append('"isFormColumn":"' + isFormColumn + '",');
                        var isTextarea = $("#isTextarea_" + i).val();
                        sb.append('"isTextarea":"' + isTextarea + '",');
                        var isDict = $("#isDict_" + i).val();
                        sb.append('"isDict":"' + isDict + '",');
                        var dictCode = $("#dictCode_" + i).val();
                        sb.append('"dictCode":"' + dictCode + '",');
                        var dictType = $("#dictType_" + i).val();
                        sb.append('"dictType":"' + dictType + '",');
                        var isOrderColumn = $("#isOrderColumn_" + i).val();
                        sb.append('"isOrderColumn":"' + isOrderColumn + '",');
                        var orderType = $("#orderType_" + i).val();
                        sb.append('"orderType":"' + orderType + '",');
                        var isQueryColumn = $("#isQueryColumn_" + i).val();
                        sb.append('"isQueryColumn":"' + isQueryColumn + '",');
                        var queryType = $("#queryType_" + i).val();
                        sb.append('"queryType":"' + queryType + '",');
                        var isAmt = $("#isAmt_" + i).val();
                        sb.append('"isAmt":"' + isAmt + '",');
                        var isRate = $("#isRate_" + i).val();
                        sb.append('"isRate":"' + isRate + '",');
                        var isNumber = $("#isNumber_" + i).val();
                        sb.append('"isNumber":"' + isNumber + '",');
                        var isDate = $("#isDate_" + i).val();
                        sb.append('"isDate":"' + isDate + '",');
                        var isStrDate = $("#isStrDate_" + i).val();
                        sb.append('"isStrDate":"' + isStrDate + '",');
                        var isRequired = $("#isRequired_" + i).val();
                        sb.append('"isRequired":"' + isRequired + '"');
                        sb.append("}");
                        if (i != columnRowsLength - 2) {
                            sb.append(",");
                        }
                    }
                    sb.append("]}");
                } else {
                    Jmts.alert("当前没有要保存的数据");
                }
                var url = "/systemColumnInfo/saveColumnInfoPageConfig";
                var data = {
                    columnJson: sb.toString()
                }
                Jmts.ajaxPost(url, data, function (result) {
                    if (result.success) {
                        Jmts.succTips(result.msg);
                        window.location.reload();
                    } else {
                        Jmts.errorTips(result.msg);
                    }
                });
                return false;
            },
            // submitForm end
            //返回
            returnIndex: function () {
                window.location.href = "/systemTableInfo/query";
            },
            //控制数据字典编码是否显示
            controlDict: function (index) {
                var dictId = "#isDict_" + index;
                var dictAreaId = "#dictArea_" + index;
                var dictCodeId = "#dictCode_" + index;
                if ($(dictId).val() == 'Y') {
                    $(dictAreaId).show();
                } else {
                    $(dictAreaId).hide();
                    $(dictCodeId).val('');
                }
            },
            //控制查询方式是否显示
            controlQuery: function (index) {
                var queryId = "#isQueryColumn_" + index;
                var queryAreaId = "#queryArea_" + index;
                var queryTypeId = "#queryType_" + index;
                if ($(queryId).val() == 'Y') {
                    $(queryAreaId).show();
                } else {
                    $(queryAreaId).hide();
                    $(queryTypeId).val("");
                }
            },
            //控制排序方式是否显示
            controlOrder: function (index) {
                var orderId = "#isOrderColumn_" + index;
                var orderAreaId = "#orderArea_" + index;
                var orderTypeId = "#orderType_" + index;
                if ($(orderId).val() == 'Y') {
                    $(orderAreaId).show();
                } else {
                    $(orderAreaId).hide();
                    $(orderTypeId).val('');
                }
            },
            //检验数据字典编码是否存在字典表中
            checkDictCode: function (index) {
                var dictCodeId = "#dictCode_" + index;
                var dictCode = $(dictCodeId).val();
                if (dictCode == null || dictCode == '' || dictCode == 'undefined') {
                    return false;
                }
                var moduleId = '${systemTableInfo.moduleId!}';
                var url = "/systemDict/checkDictCode";
                var data = {
                    dictCode: dictCode,
                    moduleId: moduleId
                }
                Jmts.ajaxPost(url, data, function (result) {
                    if (result.success) {
                        if (!result.resultData.isExist) {
                            Jmts.alert(result.msg);
                            $(dictCodeId).val('');
                        }
                    } else {
                        Jmts.warnTips(result.msg);
                        $(dictCodeId).val('');
                    }
                });
            },
            //检查字段类型
            checkColumnType: function (index, columnType) {
                var isNumberId = "#isNumber_" + index;
                var isAmtId = "#isAmt_" + index;
                var isRateId = "#isRate_" + index;
                var isDateId = "#isDate_" + index;
                if (columnType == 'isNumber') {
                    if ($(isNumberId).val() == '' || $(isNumberId).val() == null || $(isNumberId).val() == 'undefined') {
                        return;
                    }
                    $(isAmtId).val('N');
                    $(isRateId).val('N');
                    $(isDateId).val('N');
                } else if (columnType == 'isAmt') {
                    if ($(isAmtId).val() == '' || $(isAmtId).val() == null || $(isAmtId).val() == 'undefined') {
                        return;
                    }
                    $(isNumberId).val('N');
                    $(isRateId).val('N');
                    $(isDateId).val('N');
                } else if (columnType == 'isRate') {
                    if ($(isRateId).val() == '' || $(isRateId).val() == null || $(isRateId).val() == 'undefined') {
                        return;
                    }
                    $(isNumberId).val('N');
                    $(isAmtId).val('N');
                    $(isDateId).val('N');
                } else if (columnType == 'isDate') {
                    if ($(isDateId).val() == '' || $(isDateId).val() == null || $(isDateId).val() == 'undefined') {
                        return;
                    }
                    $(isNumberId).val('N');
                    $(isAmtId).val('N');
                    $(isRateId).val('N');
                }
            }
        };
        // 执行初始化
        SystemTableInfoMgr.init();
        // 前台验证表单
        $("#systemTableInfoForm").validate();
        $("#systemColumnListInfoForm").validate();
    });
</script>
</body>
</html>
